<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="jquery-1.11.0.js"></script>
    <script src="axios.mm.js"></script>
    <style>
        div {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-around;
        }
    </style>
</head>

<body>
    <button class="btn">获取数据</button>
    <script>
        $(function () {
            $('.btn').click(function () {
                console.log(111)
                axios({
                    method: 'int',
                    url: "http://47.102.221.184:8082/secluxury/goods/getgoodsbyid",
                    // url: "http://10.8.157.39:8080//secluxury/user/addUser",
                    // parmas:{
                    //     id:1
                    // }
                    parmas: {
                       id:1

                    }

                }).then((data) => {
                    console.log(data)
                }).catch((err) => {
                    console.log(err)
                })
            })
        })


    </script>
</body>
<!-- http://10.8.157.33:8080/secluxury/keepService/getAllService -->

</html>